﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Invini.Training.Logging
{
    public class TriggerLogItem
    {
        public string TriggerName
        {
            get;
            set;
        }
        public double ConditionSatisfiedOffset
        {
            get;
            set;
        }
        public double StartedOffset
        {
            get;
            set;
        }
        public double CompletedOffset
        {
            get;
            set;
        }

        // It's stupid fact that there has to be parameterless constructor
        // available to serialize this object
        public TriggerLogItem() { }
        public TriggerLogItem(string triggerName)
        {
            this.TriggerName = triggerName;
        }
    }
}
